package com.ruoyi.card.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 会员卡管理对象 card
 * 
 * @author ruoyi
 * @date 2025-05-20
 */
public class Card extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 会员卡id */
    private Long id;

    /** 会员卡名称 */
    @Excel(name = "会员卡名称")
    private String cardName;

    /** 会员积分要求 */
    @Excel(name = "会员积分要求")
    private BigDecimal requiredPoints;

    /** 会员权益描述 */
    @Excel(name = "会员权益描述")
    private String powerDesc;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setCardName(String cardName) 
    {
        this.cardName = cardName;
    }

    public String getCardName() 
    {
        return cardName;
    }

    public void setRequiredPoints(BigDecimal requiredPoints) 
    {
        this.requiredPoints = requiredPoints;
    }

    public BigDecimal getRequiredPoints() 
    {
        return requiredPoints;
    }

    public void setPowerDesc(String powerDesc) 
    {
        this.powerDesc = powerDesc;
    }

    public String getPowerDesc() 
    {
        return powerDesc;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("cardName", getCardName())
            .append("requiredPoints", getRequiredPoints())
            .append("powerDesc", getPowerDesc())
            .toString();
    }
}
